
x# 在这里写上你的代码 :-)
from microbit import *

for m in range(1023):
    pin0.write_analog(m)
    sleep(10)
for m in range(1023, 0, -1):
    pin0.write_analog(m)
    sleep(10)
for m in range(1023):
    pin1.write_analog(m)
    sleep(10)
for m in range(1023, 0, -1):
    pin1.write_analog(m)
    sleep(10)
